<%@ Control Language="vb" AutoEventWireup="false"  Explicit="true" codefile="Edit.ascx.vb" Inherits="NVPortal.Modules.NVTuyenDung.Edit" %>
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"%>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.UI.WebControls" Assembly="DotNetNuke.Web" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.UI.WebControls" Assembly="DotNetNuke" %>
<script type="text/javascript" language="JavaScript" src="/js/NVCorp.js"></script>
<link href="/js/jquery-ui-1.8.13.custom.css" rel="stylesheet" type="text/css" />
<script src="/Resources/Shared/scripts/jquery/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript" src="/js/jquery-ui-1.8.13.custom.min.js"></script>
<script type="text/javascript" language="javascript" src="/js/jquery.ui.datepicker-vi.js"></script>
<style type="text/css">
.upnewstd1, .upnewstd2 {padding: 8px 0px; border-bottom: solid 1px #eee;}
.upnewstd1 {width: 150px;}
.TuyenDungtxt {background: rgb(247, 247, 247); height: 25px; border: solid 1px #ddd; width: 400px; font-family: Tahoma;}
.TuyenDungtxt1 {background: rgb(247, 247, 247); height: 25px; border: solid 1px #ddd; width: 400px; font-family: Tahoma; text-transform: uppercase}
</style>
    <table id="Table1" width="100%" cellpadding="0" cellspacing="0" style="font-family: Arial; font-size: 12px; color:#434343;" align="center">
	    <tr>
		    <td colspan="2" style="display:none;">
			    <asp:linkbutton id="lbtUpdateTop" runat="server" Font-Bold="True"><img src="images/Acapnhat.jpg" alt="" /></asp:linkbutton>&nbsp;&nbsp;
			    <asp:linkbutton id="lbtDeleteTop" runat="server" Font-Bold="True">Xoá tin</asp:linkbutton>&nbsp;&nbsp;
			    <asp:linkbutton id="lbtCancelTop" runat="server" Font-Bold="True">Huỷ bỏ</asp:linkbutton>
		    </td>
	    </tr>
	    <tr>
		    <td colspan="2"><asp:Label id="lbResult" runat="server" CssClass="NormalRed"></asp:Label></td>
	    </tr>
	    <tr>
		    <td class="upnewstd1">Tiêu đề:</td>
		    <td class="upnewstd2"><asp:textbox CssClass="TuyenDungtxt" id="txtTitle" runat="server" Font-Bold="true" Font-Size="14px"></asp:textbox></td>
	    </tr>
        <tr>
		    <td class="upnewstd1">Mã Hồ Sơ</td>
		    <td class="upnewstd2"><asp:textbox CssClass="TuyenDungtxt1" id="txtMaHoSo" ForeColor="Red" runat="server" Font-Bold="true" Font-Size="14px"></asp:textbox></td>
	    </tr>
        <tr>
		    <td class="upnewstd1">Ngày hết hạn</td>
		    <td class="upnewstd2"><asp:textbox CssClass="DatetimePicker_Textbox" id="txtNgayHetHan" ForeColor="Red" runat="server" Font-Bold="true" Font-Size="14px"></asp:textbox></td>
	    </tr>
        <tr>
		    <td class="upnewstd1">Chọn Ảnh Avatar:<br /></td>
		    <td class="upnewstd2"><input id="txtFile" type="file" size="40" name="txtFile" runat="server" />&nbsp;&nbsp;
			    <asp:linkbutton id="lbtUpload" runat="server"><font style="color: Black; font-weight: bold">[Tải lên server]</font></asp:linkbutton>&nbsp;&nbsp;
			    <asp:linkbutton id="lbtCancel" runat="server"><font style="color: Black; font-weight: bold">[Huỷ bỏ]</font></asp:linkbutton><br />
			    <asp:image id="imgNews" runat="server" Width="100" Visible="False"></asp:image><br />
			    <asp:label id="lblMessage" runat="server" Font-Size="11px" Font-Names="tahoma"></asp:label><br />
                <asp:Label ID="lblanh" runat="server"></asp:Label>
                </td>
	    </tr>
	    <tr>
		    <td class="upnewstd1">Công ty tuyển dụng</td>
		    <td class="upnewstd2">
			    <asp:DropDownList id="ddlCongty" CssClass="TuyenDungtxt" runat="server"></asp:DropDownList></td>
	    </tr>
        <tr>
		    <td class="upnewstd1">Vị trí tuyển dụng</td>
		    <td class="upnewstd2">
			    <asp:DropDownList id="ddlVitri" CssClass="TuyenDungtxt" runat="server"></asp:DropDownList></td>
	    </tr>
        <tr>
		    <td class="upnewstd1">Vị trí HOT</td>
		    <td class="upnewstd2">
			     <asp:CheckBox id="chkHotSite" runat="server"></asp:CheckBox>
                (Vị trí Cần Gấp tích vào ô này)
                </td>
	    </tr>
        <tr>
		    <td class="upnewstd1">Hồ sơ gồm có</td>
		    <td class="upnewstd2"><dnn:TextEditor DefaultMode="Rich" id="txtHoSoGom" Width="800px" Height="350" runat="server" /></td>
	    </tr>
        <tr>
		    <td class="upnewstd1">
			    <asp:Label CssClass="SubHead" id="Label6" runat="server">Yêu cầu</asp:Label></td>
		    <td class="upnewstd2"><dnn:TextEditor DefaultMode="Rich" id="txtyeuCau" Width="800px" Height="500" runat="server" /></td>
	    </tr>
        <tr>
		    <td class="upnewstd1">
			    <asp:Label CssClass="SubHead" id="Label1" runat="server">Mô tả công việc</asp:Label></td>
		    <td class="upnewstd2"><dnn:TextEditor DefaultMode="Rich" id="txtMotacongviec" Width="800px" Height="500" runat="server" /></td>
	    </tr>
        <tr>
		    <td class="upnewstd1">
			    <asp:Label CssClass="SubHead" id="Label2" runat="server">Địa điểm làm việc</asp:Label></td>
		    <td class="upnewstd2"><dnn:TextEditor DefaultMode="Rich" id="txtdiadiemlamviec" Width="800px" Height="300" runat="server" /></td>
	    </tr>
        <tr>
		    <td class="upnewstd1">
			    <asp:Label CssClass="SubHead" id="Label4" runat="server">Địa điểm nhận hồ sơ</asp:Label></td>
		    <td class="upnewstd2"><dnn:TextEditor DefaultMode="Rich" id="txtdiadiemnhanhoso" Width="800px" Height="300" runat="server" /></td>
	    </tr>
        <tr>
		    <td class="upnewstd1">
			    <asp:Label CssClass="SubHead" id="Label5" runat="server">Liên hệ</asp:Label></td>
		    <td class="upnewstd2"><dnn:TextEditor DefaultMode="Rich" id="txtLienhe"  Width="800px" Height="300" runat="server" /></td>
	    </tr>
    </table>
    
    
    <table id="Table4" width="100%" cellpadding="0" cellspacing="0" style="font-family: Tahoma; font-size: 12px; color:#434343;" align="center">
        <tr>
		    <td style="padding: 10px; background: #efefef">
		        <table cellpadding="0" cellspacing="0" style="font-family: Tahoma; font-size: 12px; color:#434343;">
		            <tr>
		                <td>Hiển thị: <asp:CheckBox id="chkBL" Checked="true" runat="server"></asp:CheckBox></td><td width="40"></td>
                        <td><asp:linkbutton id="lbtUpdateBottom" runat="server" Font-Bold="True"><img src="/images/Acapnhat.jpg" style="border: 0px;" alt="Cập nhật" /></asp:linkbutton></td>
		                <td width="40"></td>
		                <td><asp:linkbutton id="lbtDeleteBottom" runat="server" Font-Bold="True"><img src="/images/Axoa.jpg" style="border: 0px;" alt="Xóa tin" /></asp:linkbutton></td>
		                <td width="40"></td>
		                <td><asp:linkbutton id="lbtCancelBottom" runat="server" Font-Bold="True"><img src="/images/Aback.jpg" style="border: 0px;" alt="Xóa tin" /></asp:linkbutton></td>
		            </tr>
		        </table>
		    </td>
	    </tr>
    </table>
    <script type="text/javascript" language="javascript">
        $(function () {
            // Datepicker
            $('.DatetimePicker_Textbox').datepicker({
                dateFormat: "yy/mm/dd",
                inline: true,
                showAnim: 'slideDown',
                duration: 100,
                changeMonth: true,
                changeYear: true,
                showWeek: false,
                showOn: 'both',
                buttonImage: '/images/calendar.png',
                buttonImageOnly: true,
                showButtonPanel: true
            });
        });
</script>